package com.ruoyi.omp.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.sun.javafx.font.PrismFontFactory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 物业费用对象 omp_fe_property
 *
 * @author cjie
 * @date 2021-09-17
 */
@Data
@ApiModel
public class FeProperty extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    @ApiModelProperty(value = "Id")
    private String id;


    @Excel(name = "企业ID")
    @ApiModelProperty(value = "企业ID")
    private String enterpriseId;

    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    private String leaseRecordId;


    /**
     * 租赁开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "租赁开始时间")
    private Date leaseBeginDate;

    /**
     * 租赁结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "租赁结束时间")
    private Date leaseEndDate;

    private FeLeaseRecord feLeaseRecord;


    /**
     * 下期账单时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下期账单时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "下期账单时间")
    private Date nextPropertyDate;

    /**
     * 物业免收开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物业免收开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "物业免收开始时间")
    private Date freeBeginDate;

    /**
     * 物业免收结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物业免收结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "物业免收结束时间")
    private Date freeEndDate;

    /**
     * 物业收费开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物业收费开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "物业收费开始时间")
    private Date PropertyBeginDate;

    /**
     * 物业收费结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物业收费结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "物业收费结束时间")
    private Date PropertyEndDate;


    /**
     * 收费模式(0按月|1按季度)
     */
    @Excel(name = "收费模式(0按月|1按季度)")
    @ApiModelProperty(value = "收费模式(0按月|1按季度)")
    private String feeModel;

    /**
     * 计价标准(元/平方/月)
     */
    @Excel(name = "计价标准(元/平方/月)")
    @ApiModelProperty(value = "计价标准(元/平方/月)")
    private BigDecimal feeStandard;

    /**
     * 删除标志(0正常 1删除)
     */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;
    @ApiModelProperty(value = "计费方式")
    private String calculationMode;

    @Excel(name = "是否生效")
    @ApiModelProperty(value = "是否生效")
    private Integer effect;


    @Excel(name = "合同面积")
    @ApiModelProperty(value = "合同面积")
    private  BigDecimal contractArea;

}
